home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #14
/
Monster Media No. 14 (April 1996) (Monster Media, Inc.).ISO
/
maximus
/
stbar110.zip
/
STARHLP.BAT
< prev
next >
Wrap
DOS Batch File
|
1996-02-11
|
1KB
|
37 lines
@echo off
rem StarBar helper BAT file by fvu (2:292/600@fidonet.org), 14/11/95 00:19
rem
rem ========================================================================
rem usage :
rem Necessary parameters :
rem first parameter : starbar work path
rem second parameter : File to be examined
rem third paramter : Task number for creating a "task-specific" descfile.
rem ========================================================================
rem
rem CHANGE THE NEXT LINE TO REFLECT YOUR STARBAR PATH! !!IMPORTANT!!
cd \max\starbar
del %1descfile.%3
gus %2 file_id.diz %1 /R /N /Q
if not exist %1file_id.diz goto nodiz
rem diz found, let's rename it!
ren %1file_id.diz descfile.%3
goto end
:nodiz
gus %2 sdn.id %1 /R /N /Q
if not exist %1sdn.id goto nosdn
ren %1sdn.id descfile.%3
goto end
:nosdn
echo StarBar 1.10 was unable to extract more information > %1descfile.%3
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> %1descfile.%3
echo No commonly used descriptor file could be found inside this archive >> %1descfile.%3
echo Or the file is in a compressed format that's not (yet) supported by >> %1descfile.%3
echo StarBar!. >> %1descfile.%3
echo Or, the file isn't compressed at all. Please check. >> %1descfile.%3
goto end
:usage
echo !!!This batchfile should be used by starbar only!!!
echo No user serviceable parts inside ;-) ;-)
:end